#ifndef LISTENER_HPP
#define LISTENER_HPP

#include "Runnable.hpp"
#include "ClientThread.hpp"

/**
 * Listen thread class : accept new connections
 **/
class Listener:public Runnable
{
	public:
	ClientThread* clientThreads;
	int nbClientThreads;
	int port;
	int sfd;
	virtual void run();
	Listener(int,ClientThread*,int);
};

#endif
